home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
9675
/
9675.xpi
/
chrome
/
content
/
simpletimer-countdown.xul
< prev
next >
Wrap
Extensible Markup Language
|
2009-08-03
|
7KB
|
174 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/"
type="text/css"?>
<?xml-stylesheet href="chrome://simpletimer/content/simpletimer.css"
type="text/css"?>
<!DOCTYPE dialog SYSTEM "chrome://simpletimer/locale/simpletimer.dtd">
<dialog id="simtim-dlgCountdownTimeEntry"
title="&countdown.time.name;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
buttons="accept, cancel"
onload="SimpleTimerCountdown.onLoadCountdown();"
ondialogaccept="return SimpleTimerCountdown.onOKCountdown();"
persist="screenX screenY ">
<script type="application/x-javascript"
src="chrome://simpletimer/content/simpletimer-countdown.js" />
<script type="application/x-javascript"
src="chrome://simpletimer/content/simpletimer.js" />
<stringbundleset id="stringbundleset">
<stringbundle id="simtim-strings"
src="chrome://simpletimer/locale/simpletimer.properties" />
</stringbundleset>
<groupbox id="simtim-gboxCountdown">
<caption label="&countdown.grpbox.entry;"
class="simtim-prefGroupboxLabel" />
<grid>
<columns>
<column flex="1"/>
<column flex="2"/>
</columns>
<rows>
<row align="center">
<label id="simtim-labCountdownDescr"
value="¬ify.label.description;:"
control="simtim-tboxCountdownDescr" />
<textbox id="simtim-tboxCountdownDescr"
class="simtim-borderColors"
flex="1"
width="350"
tooltiptext="¬ify.description.tip;" />
</row>
<separator />
<row align="center">
<label id="simtim-labCountdownTime"
value="¬ify.label.time;:" />
<hbox>
<vbox>
<textbox id="simtim-tboxCountdownHours"
class="simtim-borderColors"
type="number"
value="0"
wraparound="true"
size="2"
min="0"
max="23" />
<vbox align="center">
<label value="&countdown.label.hours;"
control="simtim-tboxCountdownHours" />
</vbox>
</vbox>
<vbox>
<textbox id="simtim-tboxCountdownMinutes"
class="simtim-borderColors"
type="number"
value="0"
wraparound="true"
size="2"
min="0"
max="59" />
<vbox align="center">
<label value="&countdown.label.minutes;"
control="simtim-tboxCountdownMinutes" />
</vbox>
</vbox>
<vbox>
<textbox id="simtim-tboxCountdownSeconds"
class="simtim-borderColors"
type="number"
value="0"
wraparound="true"
size="2"
min="0"
max="59" />
<vbox align="center">
<label value="&countdown.label.seconds;"
control="simtim-tboxCountdownSeconds" />
</vbox>
</vbox>
</hbox>
</row>
</rows>
</grid>
<separator />
<checkbox id="simtim-cboxCountdownRecurring"
label="&countdown.label.recurring;"
tooltiptext="&countdown.recurring.tip;" />
<separator />
<hbox pack="center">
<button id="simtim-btnCountdownAddOk"
label="¬ify.btn.addOk;"
tooltiptext="¬ify.btn.addOk.tip;"
oncommand="SimpleTimerCountdown.onAddOkCountdown();" />
</hbox>
</groupbox>
<separator />
<hbox flex="1">
<vbox pack="center">
<button id="simtim-btnCountdownAdd"
label="¬ify.btn.add;"
tooltiptext="¬ify.btn.add.tip;"
oncommand="SimpleTimerCountdown.onAddCountdown();" />
<button id="simtim-btnCountdownDel"
label="¬ify.btn.del;"
tooltiptext="&countdown.btn.del.tip;"
oncommand="SimpleTimerCountdown.onDeleteCountdown();"/>
<button id="simtim-btnCountdownDelAll"
label="¬ify.btn.del.all;"
tooltiptext="&countdown.btn.del.all.tip;"
oncommand="SimpleTimerCountdown.onDeleteAllCountdown();" />
<button id="simtim-btnSaveList"
label="&countdown.btn.save.list;"
tooltiptext="&countdown.btn.save.list.tip;"
oncommand="SimpleTimerCountdown.onSaveList();" />
<button id="simtim-btnLoadList"
label="&countdown.btn.load.list;"
tooltiptext="&countdown.btn.load.list.tip;"
oncommand="SimpleTimerCountdown.onLoadList();" />
<button id="simtim-btnCountdownReset"
label="¬ify.btn.reset;"
tooltiptext="¬ify.btn.reset.tip;"
oncommand="SimpleTimerCountdown.onLoadCountdown();" />
</vbox>
<vbox flex="1">
<label id="simtim-labCountdown"
class="simtim-boldLabel"
value="&countdown.label.tree;" />
<tree id="simtim-treeCountdown"
class="simtim-borderColors"
hidecolumnpicker="true"
editable="true"
flex="1"
rows="5">
<treecols>
<treecol id="simtim-colCountdownTime"
label="¬ify.label.time;"
flex="1" />
<splitter class="tree-splitter" />
<treecol id="simtim-colCountdownRecur"
label="¬ify.label.recurring;"
type="checkbox"
fixed="true"
editable="true"
primary="true" />
<splitter class="tree-splitter" />
<treecol id="simtim-colCountdownDescription"
label="¬ify.label.description;"
editable="true"
flex="3" />
</treecols>
<treechildren id="simtim-treeItems"
class="simtim-treeChildren" />
</tree>
</vbox>
</hbox>
</dialog>